package com.ds.robot.assistant.model;

import com.alibaba.excel.annotation.ExcelProperty;
import com.ds.robot.assistant.component.StringDateConverter;
import lombok.Data;

import java.util.Date;

@Data
public class MilestoneData {

    @ExcelProperty(index = 0)
    private String reqName;

    /**
     * 里程碑类型：integer
     */
    // @ExcelProperty(index = 1, converter = StringIntegerConverter.class)
    // private Integer milestoneTypeInt;

    @ExcelProperty(index = 1)
    private String milestoneType;

    @ExcelProperty(index = 2, converter = StringDateConverter.class)
    private Date milestoneDate;

    // @ExcelProperty(index = 3, converter = StringIntegerConverter.class)
    // private Integer timePoint;

    /**
     * 时间点类型
     */
    @ExcelProperty(index = 3)
    private String timePoint;

    @ExcelProperty(index = 4)
    private String reminderUser;

    @ExcelProperty(index = 5)
    private String reminderMessage;

    @ExcelProperty(index = 6)
    private String notes;

}
